package com.tyqx.hashchaindao.mapper;

import java.util.Date;
import java.util.List;

import com.tyqx.hashchainbean.module.ProducePlan;
import org.apache.ibatis.annotations.Param;

public interface ProducePlanMapper {

    public int insert(ProducePlan record);

    public int addProducePlan(ProducePlan producePlan);

    public List<ProducePlan> getProducePlanById(String donateId);

    public List<ProducePlan> getProducePlanByTime(@Param("startTime")Date startTime, @Param("endTime")Date endTime, @Param("userName")String userName);
}